<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities.Barcodes" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities.Barcodes" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://localhost/RioWCFServices/RioWCFService.svc?xsd=xsd2" namespace="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" />
  <xs:complexType name="ArrayOfBarcodeResultItem">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="BarcodeResultItem" nillable="true" type="tns:BarcodeResultItem" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfBarcodeResultItem" nillable="true" type="tns:ArrayOfBarcodeResultItem" />
  <xs:complexType name="BarcodeResultItem">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q1="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" base="q1:ReturnObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="BarcodeType" type="tns:BarcodeType" />
          <xs:element minOccurs="0" name="Length" type="xs:int" />
          <xs:element minOccurs="0" name="Value" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="BarcodeResultItem" nillable="true" type="tns:BarcodeResultItem" />
  <xs:simpleType name="BarcodeType">
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Barcode1DReaderADD2" />
      <xs:enumeration value="Barcode1DReaderADD5" />
      <xs:enumeration value="Barcode1DReaderBcdMatrix" />
      <xs:enumeration value="Barcode1DReaderCode128" />
      <xs:enumeration value="Barcode1DReaderCode39" />
      <xs:enumeration value="Barcode1DReaderCODE93" />
      <xs:enumeration value="Barcode1DReaderCodeabar" />
      <xs:enumeration value="Barcode1DReaderDataLogic2of5" />
      <xs:enumeration value="Barcode1DReaderEAN128" />
      <xs:enumeration value="Barcode1DReaderEAN13" />
      <xs:enumeration value="Barcode1DReaderEAN8" />
      <xs:enumeration value="Barcode1DReaderIata2of5" />
      <xs:enumeration value="Barcode1DReaderIndustrial2of5" />
      <xs:enumeration value="Barcode1DReaderInterleaved2of5" />
      <xs:enumeration value="Barcode1DReaderInverted2of5" />
      <xs:enumeration value="Barcode1DReaderMatrix2of5" />
      <xs:enumeration value="Barcode1DReaderUPCA" />
      <xs:enumeration value="Barcode1DReaderUPCE" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="BarcodeType" nillable="true" type="tns:BarcodeType" />
  <xs:complexType name="BarcodeDocumentSeparator">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:BarcodeSeparator">
        <xs:sequence>
          <xs:element minOccurs="0" name="ItemCode" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="ItemIdentifier" type="xs:long" />
          <xs:element minOccurs="0" name="ItemName" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="NatureIdentifier" type="xs:long" />
          <xs:element minOccurs="0" name="NatureName" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="ParamCode" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="PdfMerge" type="xs:boolean" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="BarcodeDocumentSeparator" nillable="true" type="tns:BarcodeDocumentSeparator" />
  <xs:complexType name="BarcodeSeparator">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q2="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" base="q2:ReturnObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="CabIdentifier" type="xs:long" />
          <xs:element minOccurs="0" name="DeleteBarCodePage" type="xs:boolean" />
          <xs:element minOccurs="0" name="DocLimit" type="xs:boolean" />
          <xs:element minOccurs="0" name="ErrorManagment" type="xs:boolean" />
          <xs:element minOccurs="0" name="FolderTypeId" type="xs:long" />
          <xs:element minOccurs="0" name="Identifier" type="xs:long" />
          <xs:element minOccurs="0" name="InfLimit" type="xs:int" />
          <xs:element minOccurs="0" name="OrganizationId" type="xs:long" />
          <xs:element minOccurs="0" name="SupLimit" type="xs:int" />
          <xs:element minOccurs="0" name="TypeOfBarcode" type="tns:BarcodeSeparatorType" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="BarcodeSeparator" nillable="true" type="tns:BarcodeSeparator" />
  <xs:simpleType name="BarcodeSeparatorType">
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="FolderSeparator" />
      <xs:enumeration value="DocumentSeparator" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="BarcodeSeparatorType" nillable="true" type="tns:BarcodeSeparatorType" />
  <xs:complexType name="BarcodeFolderSeparator">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:BarcodeSeparator">
        <xs:sequence>
          <xs:element minOccurs="0" name="CorrespondenceFolder" type="xs:boolean" />
          <xs:element minOccurs="0" name="DocumentLimit" type="xs:boolean" />
          <xs:element minOccurs="0" name="EndChar" type="xs:int" />
          <xs:element minOccurs="0" name="IndexId" type="xs:long" />
          <xs:element minOccurs="0" name="PageLimit" type="xs:boolean" />
          <xs:element minOccurs="0" name="RecognizedIndexValue" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="StartChar" type="xs:int" />
          <xs:element minOccurs="0" name="UniqueIndexIdentifier" nillable="true" type="xs:long" />
          <xs:element minOccurs="0" name="UniqueIndexLabel" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="BarcodeFolderSeparator" nillable="true" type="tns:BarcodeFolderSeparator" />
  <xs:complexType name="Barcode">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q3="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" base="q3:ReturnObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="BarCodeSeparatorList" nillable="true" type="tns:ArrayOfBarcodeSeparator" />
          <xs:element minOccurs="0" name="Description" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Enabled" type="xs:boolean" />
          <xs:element minOccurs="0" name="Function" type="tns:BarcodeSeparatorType" />
          <xs:element minOccurs="0" name="Identifier" type="xs:long" />
          <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="ParamCode" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Prefix" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Type" type="tns:BarcodeType" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Barcode" nillable="true" type="tns:Barcode" />
  <xs:complexType name="ArrayOfBarcodeSeparator">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="BarcodeSeparator" nillable="true" type="tns:BarcodeSeparator" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfBarcodeSeparator" nillable="true" type="tns:ArrayOfBarcodeSeparator" />
</xs:schema>